package TrafficSim;

public class Timer {
	private double timer;
	private int nextTrafficLightToChange;
	private boolean allChanged;
	
	public Timer (double timer, int next, boolean allChanged){
		this.timer = timer;
		this.nextTrafficLightToChange = next;
		this.allChanged = allChanged;
	}
	
	public boolean isAllChanged() {
		return allChanged;
	}

	public void setAllChanged(boolean allChanged) {
		this.allChanged = allChanged;
	}

	public int getNextTrafficLightToChange() {
		return nextTrafficLightToChange;
	}
	public void setNextTrafficLightToChange(int nextTrafficLightToChange) {
		this.nextTrafficLightToChange = nextTrafficLightToChange;
	}
	public double getTimer() {
		return timer;
	}
	public void setTimer(double timer) {
		this.timer = timer;
	}
}
